package com.springboot2.shiro.comm.entity;

/**
 * RedisOptions
 *
 * @author Archx[archx@foxmail.com]
 * at 2018/7/13 22:06
 */
public class RedisOptions {

    private String host = "127.0.0.1";
    private int    port = 6379;
    private String password;
    private int timeout = 2000;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }
}
